enum OsnFriendState: Int {
    case Wait = 0
    case Normal
    case Deleted
    case Blacked
    case Syncst
    
    init(rawValue: Int) {
        switch rawValue {
        case 0: self = .Wait
        case 1: self = .Normal
        case 2: self = .Deleted
        case 3: self = .Blacked
        case 4: self = .Syncst
        default: self = .Wait
        }
    }
}
class DMCCFriend {
    var id: Int64 = 0
    var friendId = "" //好友id
    var userId = ""    //自己id
    var alias = ""
    var extra = ""
    var state = OsnFriendState.Normal
    var timestamp: Int64 = 0
}
